package com.ocean.items.tool;

import com.ocean.config.GroupDefine;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

/**
 * 小刀
 *
 * @author zhang
 * @since 2021/11/6
 */
public class Knife extends Item {

    public Knife() {
        super(new Properties().tab(GroupDefine.QUALITY_GROUP));
    }

    @Override
    public ItemStack getContainerItem(ItemStack itemStack) {
        return itemStack.copy();
    }

    @Override
    public boolean hasContainerItem(ItemStack stack) {
        return true;
    }
}
